using BackData;
using MediatR;

namespace Team.API.Applocation.Command.Makesteps
{
    /// <summary>
    /// 启用/禁用成品工艺工序
    /// </summary>
    public class ToggleMakestepUseCommand : IRequest<APIResult<bool>>
    {
        /// <summary>目标工序 Id</summary>
        public long Id { get; set; }

        /// <summary>切换后的状态（true 启用，false 禁用）</summary>
        public bool IsUse { get; set; }
        /// <summary>
        /// 当前操作人（来自前端 pinia）
        /// </summary>
        public string? CurrentUserName { get; set; }
    }
}

